package com.pajx.facelibrary.model;

public class FaceImageConfig {

    public FaceCommon.FaceImageType faceImageType;
    public byte[] data; // 可见光YUV 数据流
    public int srcHeight; // 可见光YUV 数据流-高度
    public int srcWidth; // 可见光YUV 数据流-宽度
    public int direction; // rgb角度
    public int mirror; // rgb镜像

    public FaceImageConfig(int srcHeight, int srcWidth,
                           int direction, int mirror,
                           FaceCommon.FaceImageType faceImageType) {
        this.srcHeight = srcHeight;
        this.srcWidth = srcWidth;
        this.direction = direction;
        this.mirror = mirror;
        this.faceImageType = faceImageType;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

}
